package com.lylg.picture_share.service;

import com.lylg.picture_share.entity.User;

import java.util.List;

public interface UserService {
     Integer addUser(User user);

    Integer deleteUser(Integer id);

    Integer updateUser(User user);

    List<User> selectAllUser();

    User selectUserById(Integer id);

    User getUserByNameAndPwd(User user);
}
